<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/navigation/css/main.css">

        <!-- <div class="main-content"> -->
         
     <div id="main-content">
     
           <div id="left-col">
      <s:if test="listImages">
     
                <div class="box">
	                <div class="category-bar">
						<h3 class="category-bar-current">
						    图片类
						<span></span>
						</h3>
					</div>
				
				<div class="category-all-app">
					<div class="category-all-app-list">
					<ul id="CategoryApps" class="clearfix" data-pos="" data-zone="app-cat">
					  <s:if test="listImages">
					  <s:iterator value="listImages" id="image" status="st">
					     <li>
						<dl class="app-single-item">
								<dt>
								<a class="app-icon"  data-item="icon" data-appid="100112" href="<%=basePath%>/cloudme/addFileToCar.action?id=${image.fileId }">
								<img width="64" height="64" alt="" src="<%=basePath%>/dmrc/image/${image.fileUrl}">
								<i class="app-single-round" title="${image.fileName } 点击打印"></i>
								</a>
								</dt>
								
								<dd>
								<a class="app-name" title="${image.fileName } 下载"  data-item="title" data-appid="100112" href="<%=basePath%>/dmrc/image/${image.fileUrl}">${image.fileName }</a>
								<span class="app-single-grade">
									<i style="width: 80%;" data-grade="4.0"></i>
									</span>
									<p class="app-used-amount">
									<strong>${image.filePrintsum }</strong>
									次打印
									</p>
								</dd>
						</dl>
					</li>
					     
					     
					</s:iterator>
					</s:if>
					
					
				    </ul>
				    </div>
				   </div>
                 </div>
           </s:if>
                <s:if test="listFiles">
                 <div class="box">
	                <div class="category-bar">
						<h3 class="category-bar-current">
						    文件类
						<span></span>
						</h3>
					</div>
				
				<div class="category-all-app">
					<div class="category-all-app-list">
					<ul id="CategoryApps" class="clearfix" data-pos="" data-zone="app-cat">
					  <s:if test="listFiles">
					  <s:iterator value="listFiles" id="files" status="st">
					     <li>
						<dl class="app-single-item">
								<dt>
								<a class="app-icon"  data-item="icon" data-appid="100112" href="<%=basePath%>/cloudme/addFileToCar.action?id=${files.fileId }">
								<img width="64" height="64" alt="" src="<%=basePath%>/webimage/file/file_96.png">
								<i class="app-single-round" title="${files.fileName } 点击打印"></i>
								</a>
								</dt>
								
								<dd>
								<a class="app-name" title="${files.fileName } 下载"  data-item="title" data-appid="100112" href="<%=basePath%>/drmc/file/${files.fileUrl}">${files.fileName }</a>
								<span class="app-single-grade">
									<i style="width: 80%;" data-grade="4.0"></i>
									</span>
									<p class="app-used-amount">
									<strong>${files.filePrintsum }</strong>
									次打印
									</p>
								</dd>
						</dl>
					</li>
					     
					     
					</s:iterator>
					</s:if>
					
					
				    </ul>
				    </div>
				   </div>
                 </div>
             </s:if>
                 
                 
           </div><!-- left end -->
           
           
           <!-- 用于赚钱导航的 新发现推荐网站 -->
           <div id="right-col">
           
              <div class="car">
                <s:if test="car">
                <span class="ns_btn-big">
                 <h3>打印车：<span class="red">${car.carCarName}</span></h3>
                 </span>
                  <ul class="carlist">
                   <s:if test="listFileorders">
                    <s:iterator value="listFileorders" id="order" status="st">
                      <li>
						<div class="index-pic">
							<a class="nslog:58" target="_blank" href="#">
							 <img height="44px" width="44px" src="<%=basePath%>/webimage/file/file_96.png" alt="">
							</a>
						</div>
						<div class="right">
						<p>
						<a class="nslog:58" target="_blank" href="#">${order.orderFilename }</a>
						</p>
						</div>
                      </li>
                    </s:iterator>
                    </s:if>
                  </ul>
                 </s:if>
              </div>
             
             <div class="car">
                <s:if test="nearshoplist">
                <span class="ns_btn-big">
                 <h3>最近打印店商</h3>
                 </span>
                  <ul class="nearshoplist">
                   <s:if test="listFileorders">
                    <s:iterator value="listFileorders" id="order" status="st">
                      <li>
						<div class="index-pic">
							<a class="nslog:58" target="_blank" href="#">
							 <img height="44px" width="44px" src="<%=basePath%>/webimage/file/file_96.png" alt="">
							</a>
						</div>
						<div class="right">
						<p>
						<a class="nslog:58" target="_blank" href="#">${order.orderFilename }</a>
						</p>
						</div>
                      </li>
                    </s:iterator>
                    </s:if>
                  </ul>
                 </s:if>
              </div>
              
              
              
              
              
              
           </div> 
            
     </div>
      